package com.gouda.core.entity;

import lombok.Data;
import org.amethyst.atlas.basic.entity.MagicDBEntity;
import org.amethyst.atlas.basic.meta.Column;
import org.amethyst.atlas.basic.meta.PrimaryKey;
import org.amethyst.atlas.basic.meta.Table;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单服务人员
 * Created by KGL on 2015/12/4.
 */
@Data
@Table(tableName = "order_employee")
public class OrderEmployeeEntity extends MagicDBEntity<OrderEmployeeEntity> implements Serializable {

    private static final long serialVersionUID = -3809108113764193630L;
    @PrimaryKey
    private long id;
    @Column
    private long employeeId;
    @Column
    private long orderId;
    @Column
    private long divisionId;
    @Column
    private long clueRatioId;
    @Column
    private long merchant;
    @Column
    private int orderType;
    @Column
    private long expectPrice;
    @Column
    private Date responseTime;
    @Column
    private int expectServiceTime;
    @Column
    private long totalPrice;
    @Column
    private Date payTime;
    @Column
    private String closeReason;
    @Column
    private Date endServiceTime;
    @Column
    private int serviceTime;
    @Column
    private Date reserceTime;
    @Column
    private String remark;
    @Column
    private int state;
    @Column
    private Date createTime;
}
